projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8967d9
)
ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c
author
Kumar Gala
<
[email protected]
>
Tue, 27 Oct 2009 02:21:25 +0000
(21:21 -0500)
committer
Kumar Gala
<
[email protected]
>
Tue, 27 Oct 2009 02:21:25 +0000
(21:21 -0500)
nand_boot.c: In function 'board_init_f':
nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this function
Signed-off-by: Kumar Gala <
[email protected]
>
nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
patch
|
blob
|
history
diff --git
a/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
b/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
index bd513b851ee7d0ab5c9adfde3fcce80d880e1f15..af442ea270eeea2f670a3d6fe98b739e74255afd 100644
(file)
--- a/
nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
+++ b/
nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
@@
-41,7
+41,7
@@
DECLARE_GLOBAL_DATA_PTR;
void board_init_f(ulong bootflag)
{
- uint plat_ratio, bus_clk, sys_clk;
+ uint plat_ratio, bus_clk, sys_clk
= 0
;
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
volatile ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR);
uint val, temp, sysclk_mask;